<template>
  <div>
    <div id="container"></div>
  </div>
</template>
<script>
import sigma from 'sigma'
export default {
  name: 'SigmaPic',
  created () {
    this.createPicture()
  },
  methods: {
    createPicture () {
      sigma.parsers.json('/static/json/data.json', {
        container: 'container',
        settings: {
          defaultNodeColor: '#ec5148'
        }
      })
    }
  }
}
</script>
